/**
 * @author:albert
 */

package com.bkbw.live.battle.database.bean;

import com.bkbw.live.common.util.Utils;

public class WeaponBean {
	//{"id":1,"name":"烤肉刀","weaponType":1,"skillId":1,"function":"0","attackRange":"1.8","angle":0,"attack":10,
	// "hitMelee":8000,"criMelee":1000,"criDamageMelee":2000,"endurance":30,"weight":10,"sell":100,"effects":"0",
	// "describe":"这是一把烤肉刀","icon":"1","attackCount":0,"block":0}
	private int id;
	private String name;
	private int weaponType;
	private int skillId;
	private String function;
	private float attackRange;
	private int angle;
	private int attack;
	private int hitMelee;
	private int criMelee;
	private int criDamageMelee;
	private int endurance;
	private int weight;
	private int sell;
	private String effects;
	private String describe;
	private String icon;
	private int attackCount;
	private int block;
	private String resource;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getWeaponType() {
		return weaponType;
	}
	public void setWeaponType(int weaponType) {
		this.weaponType = weaponType;
	}
	public int getSkillId() {
		return skillId;
	}
	public void setSkillId(int skillId) {
		this.skillId = skillId;
	}
	public String getFunction() {
		return function;
	}
	public void setFunction(String function) {
		this.function = function;
	}
	public float getAttackRange() {
		return attackRange;
	}
	public void setAttackRange(float attackRange) {
		this.attackRange = attackRange;
	}
	public int getAngle() {
		return angle;
	}
	public void setAngle(int angle) {
		this.angle = angle;
	}
	public int getAttack() {
		return attack;
	}
	public void setAttack(int attack) {
		this.attack = attack;
	}
	public int getHitMelee() {
		return hitMelee;
	}
	public void setHitMelee(int hitMelee) {
		this.hitMelee = hitMelee;
	}
	public int getCriMelee() {
		return criMelee;
	}
	public void setCriMelee(int criMelee) {
		this.criMelee = criMelee;
	}
	public int getCriDamageMelee() {
		return criDamageMelee;
	}
	public void setCriDamageMelee(int criDamageMelee) {
		this.criDamageMelee = criDamageMelee;
	}
	public int getEndurance() {
		return endurance;
	}
	public void setEndurance(int endurance) {
		this.endurance = endurance;
	}
	public int getWeight() {
		return weight;
	}
	public void setWeight(int weight) {
		this.weight = weight;
	}
	public int getSell() {
		return sell;
	}
	public void setSell(int sell) {
		this.sell = sell;
	}
	public String getEffects() {
		return effects;
	}
	public void setEffects(String effects) {
		this.effects = effects;
	}
	public String getDescribe() {
		return describe;
	}
	public void setDescribe(String describe) {
		this.describe = describe;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public int getAttackCount() {
		return attackCount;
	}
	public void setAttackCount(int attackCount) {
		this.attackCount = attackCount;
	}
	public int getBlock() {
		return block;
	}
	public void setBlock(int block) {
		this.block = block;
	}
	
	public String getResource() {
		return resource;
	}
	public void setResource(String resource) {
		this.resource = resource;
	}
	@Override
	public String toString() {
		return Utils.getFields(this);
	}
}
